Problem Note 60277: Multi-byte character set names might generate garbled text in the ODS output from some SAS/STAT® software procedures in a UTF8 SAS® session
Unprintable square characters might appear in the output from some SAS/STAT software procedures when you use a UTF8 SAS session with the VALIDVARNAME=ANY system option. The procedures include the following:
- GENMOD
- GLM
- GLMSELECT
- LOGISTIC
- MIXED
This problem can occur if a variable name is in a multi-byte character set and there is not enough space in a column to print the full value. An example is shown below:
For example, the problem would occur with the following code:
proc logistic data=test;
model y='あああああああああ'n;
run;
To circumvent the problem, include the NAMELEN= option in the PROC statement. In this case, setting the NAMELEN= option to 30 resolves the issue.
proc logistic data=test namelen=30;
model y='あああああああああ'n;
run;
Operating System and Release Information
SAS System | SAS/STAT | Windows 7 Professional x64 | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2008 for x64 | 14.1 | | 9.4 TS1M3 | |
Microsoft Windows Server 2012 Datacenter | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2012 R2 Datacenter | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2012 R2 Std | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2012 Std | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Enterprise 32 bit | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Enterprise x64 | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Home Premium 32 bit | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Home Premium x64 | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Professional 32 bit | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Ultimate 32 bit | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Ultimate x64 | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
64-bit Enabled AIX | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
64-bit Enabled Solaris | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2008 R2 | 14.1 | | 9.4 TS1M3 | |
Microsoft Windows Server 2008 | 14.1 | | 9.4 TS1M3 | |
Microsoft Windows 10 | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8.1 Pro x64 | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8.1 Pro 32-bit | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8.1 Enterprise x64 | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8.1 Enterprise 32-bit | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8 Pro x64 | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8 Pro 32-bit | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8 Enterprise x64 | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8 Enterprise 32-bit | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft® Windows® for x64 | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
z/OS 64-bit | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
z/OS | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
HP-UX IPF | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Linux for x64 | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
Solaris for x64 | 14.1 | 15.1 | 9.4 TS1M3 | 9.4 TS1M6 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
ODS output from some SAS/STAT® software procedures does not correctly display multi-byte character set names when you use a UTF8 SAS session with the VALIDVARNAME=ANY system option. The same code using the fourth maintenance release of SAS® 9.4 (TS1M4 DBCS3170) correctly displays the characters.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2017-04-13 16:15:29 |
Date Created: | 2017-04-10 12:10:10 |